/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.edu.unal.bioingenium.kbmed.knowledge.ontology.vo;

/**
 *
 * @author lariverosc
 *
 */
public class Concept {

    private String conceptId;
    private byte status;
    private String description;
    private short numTokens;
    private String category;

    /**
     *
     */
    public Concept() {
    }

    /**
     *
     * @param conceptId
     */
    public Concept(String conceptId) {
        this.conceptId = conceptId;
    }

    /**
     *
     * @return
     */
    public String getCategory() {
        return category;
    }

    /**
     *
     * @param category
     */
    public void setCategory(String category) {
        this.category = category;
    }

    /**
     *
     * @return
     */
    public String getConceptId() {
        return conceptId;
    }

    /**
     *
     * @param conceptId
     */
    public void setConceptId(String conceptId) {
        this.conceptId = conceptId;
    }

    /**
     *
     * @return
     */
    public String getDescription() {
        return description;
    }

    /**
     *
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     *
     * @return
     */
    public short getNumTokens() {
        return numTokens;
    }

    /**
     *
     * @param numTokens
     */
    public void setNumTokens(short numTokens) {
        this.numTokens = numTokens;
    }

    /**
     *
     * @return
     */
    public byte getStatus() {
        return status;
    }

    /**
     *
     * @param status
     */
    public void setStatus(byte status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Concept other = (Concept) obj;
        if ((this.conceptId == null) ? (other.conceptId != null) : !this.conceptId.equals(other.conceptId)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 89 * hash + (this.conceptId != null ? this.conceptId.hashCode() : 0);
        return hash;
    }
}
